﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using LeadThing.AbpZeroTemplate.Files.Dtos;
using LeadThing.AbpZeroTemplate.FireFightingWorks;

namespace LeadThing.AbpZeroTemplate.FireFightingWorks.Dtos
{
    /// <summary>
    /// 消防工作列表Dto
    /// </summary>
    [AutoMapFrom(typeof(FireFightingWork))]
    public class FireFightingWorkLoadPageDto : EntityDto<long>
    {
        /// <summary>
        /// 标题
        /// </summary>
        [DisplayName("标题")]
        public string Title { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        [DisplayName("创建时间")]
        public DateTime CreationTime { get; set; }

        /// <summary>
        /// 镇
        /// </summary>
        public int TownID { get; set; }


        /// <summary>
        /// 区
        /// </summary>
        public int AreaID { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string Desc { get; set; }


        /// <summary>
        /// 村庄
        /// </summary>
        public int VillageID { get; set; }

        #region 扩展字段

        /// <summary>
        /// X坐标
        /// </summary>
        public string XPoint { get; set; }
        /// <summary>
        /// Y坐标
        /// </summary>
        public string YPoint { get; set; }


        /// <summary>
        /// 镇名称
        /// </summary>
        [DisplayName("镇")]
        public string TownTitle { get; set; }

        /// <summary>
        /// 区名称
        /// </summary>
        [DisplayName("区")]
        public string AreaTitle { get; set; }

        /// <summary>
        /// 村名称
        /// </summary>
        [DisplayName("村庄")]
        public string VillageTitle { get; set; }

        /// <summary>
        /// 文件集合
        /// </summary>
        public List<FileListDto> fileList { get; set; }

        #endregion
    }
}
